package org.wanda.pv.model.hy;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.nutz.dao.entity.annotation.*;
import org.wanda.pv.model.business.Attachment;
import org.wanda.pv.model.business.ProjectCheckState;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Table("hy_project_info")
public class HyProjectInfo implements Serializable{
    @Name
    @Column
    @ColDefine(type = ColType.VARCHAR, width = 128)
    private String id ;
    @Column
    private String projectType ;
    @Column
    private String projectForms ;
    @Column
    private String projectModel ;
    @Column
    private String province ;
    @Column
    private String code ;
    @Column
    private String imgUrl ;

    @Column
    private int status ;
    @Column
    private String name ;
    @Column
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date projectTongbao;
    @Column
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date delistingDate;

    @Column("project_Check_State_Id")
    private Long projectCheckStateId;

    @One(field = "projectCheckStateId")
    private ProjectCheckState projectCheckState;


    private List<HyDrawing> hyDrawings;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getProjectType(String projectType) {
        return this.projectType;
    }

    public void setProjectType(String projectType) {
        this.projectType = projectType;
    }

    public String getProjectForms() {
        return projectForms;
    }

    public void setProjectForms(String projectForms) {
        this.projectForms = projectForms;
    }

    public String getProjectModel() {
        return projectModel;
    }

    public void setProjectModel(String projectModel) {
        this.projectModel = projectModel;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getProjectType() {
        return projectType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getProjectTongbao() {
        return projectTongbao;
    }

    public void setProjectTongbao(Date projectTongbao) {
        this.projectTongbao = projectTongbao;
    }

    public Date getDelistingDate() {
        return delistingDate;
    }

    public void setDelistingDate(Date delistingDate) {
        this.delistingDate = delistingDate;
    }

    public List<HyDrawing> getHyDrawings() {
        return hyDrawings;
    }

    public void setHyDrawings(List<HyDrawing> hyDrawings) {
        this.hyDrawings = hyDrawings;
    }

}
